﻿@model Sohobloo.SoAuth.Web.Models.RoleModel

<h2>Edit Role</h2>
@Html.ActionLink("Back", "Index")
@using (Html.BeginForm())
{
    <fieldset>
        <legend>Function</legend>
        <div class="editor-label">
            @Html.LabelFor(m => Model.RoleName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => Model.RoleName)
        </div>
        <div class="editor-label">
            @Html.LabelFor(m => Model.RoleDescription)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => Model.RoleDescription)
        </div>
        <div class="editor-label">
            @Html.LabelFor(m => Model.RoleEnabled)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => Model.RoleEnabled)
        </div>
        <div>
            <input type="submit" value="Submit" />
        </div>
    </fieldset>
}